// created by noellynch
// May 6, 2009

package com.sceneworker.app.undo;

import java.util.ArrayList;

public class GroupUndoAction implements IUndoAction {

	private		ArrayList<IUndoAction>		mcla_undoList;
	
	public	GroupUndoAction() {
		mcla_undoList = new ArrayList<IUndoAction>();
	}
	
	public	void	addUndoAction(IUndoAction cl_undo) {
		mcla_undoList.add(cl_undo);
	}
	
	public void undo() {
		for(IUndoAction lcl_undo : mcla_undoList) {
			lcl_undo.undo();
		}
	}

}
